<%@ page contentType="image/jpeg" import="com.nail.zhaogr.utils.*" %>
<%
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
RandImgCreater rc = new RandImgCreater(response);
//RandImgCreater rc = new RandImgCreater(response,8,"abcdef");
rc.setBgColor(255,255,255);
String rand = rc.createRandImage();
session.setAttribute("imageCode",rand);

response.flushBuffer();
out.clear();
out = pageContext.pushBody();
%>